<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>支付
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default"
				ng-click="paySupport.save()">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<!-- Nav tabs -->
	<ul class="nav nav-tabs" role="tablist" style="clear: both">
		<li class="active"><a data-target="#accountBaseInfo" role="tab"
			data-toggle="tab">基本信息</a></li>
	</ul>
	<!-- Tab panels -->
	<div class="tab-content" id="accountBaseInfo">
		<div class="tab-pane active" id="productBaseInfo">
			<form id="addProductFormId" name="addProductFormId">
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>订单号:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.orderNo"> -->
									{{ paySupport.entity.orderNo }}
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>状态:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.supplerOrgName"> -->
									{{ paySupport.entity.payStatusName }}
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>班期:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.groupName"> -->
									{{ paySupport.entity.timeTableName }}
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>付款金额:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.supplerOrgName"> -->
									{{ paySupport.entity.payment }}
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>组团社:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.groupName"> -->
									{{ paySupport.entity.groupName }}
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>供应商:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.supplerOrgName"> -->
									{{ paySupport.entity.supplerOrgName }}
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>应付款:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.groupName"> -->
									{{ paySupport.entity.shouldPayment }}
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>实付款:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.supplerOrgName"> -->
									{{ paySupport.entity.actualPayment }}
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>创建时间:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
									{{ paySupport.entity.createTime }}
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>修改时间:
							</label>
							<div class="col-md-8 col-sm-10"
								style="padding-top: 7px; text-align: left">
								<!-- <input id="person_phone" name=person_phone type="text"
									class="form-control" ng-model="paySupport.entity.supplerOrgName"> -->
									{{ paySupport.entity.modifyTime }}
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>支付类型:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="paymentType" name="paymentType" type="text"
									class="form-control">
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>支付金额:
							</label>
							<div class="col-md-8 col-sm-10">
								<input type="number" min="0" class="form-control"
									ng-model="paySupport.bind.payment">
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>支付人:
							</label>
							<div class="col-md-8 col-sm-10">
								<input type="text" class="form-control"
									ng-model="paySupport.bind.paymentPerson">
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>流水号:
							</label>
							<div class="col-md-8 col-sm-10">
								<input type="text" class="form-control"
									ng-model="paySupport.bind.platformNumber">
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span
								class="notNull">*</span>备注:</label>
							<div class="col-sm-10">
								<textarea id="description" name="description"
									class="form-control" rows="5"
									ng-model="paySupport.bind.comment"></textarea>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-10 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<div class="col-sm-10" style="text-align: right;">
								<button style="margin-right: 15px;" type="button"
									class="btn btn-default" ng-click="paySupport.add()">添加
								</button>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span
								class="notNull">*</span>支付方式:</label>
							<div class="col-sm-10 pay">
								<ul>
									<li ng-repeat="item in paySupport.cache.images">
										<div>{{ item.type == 'D_PAY_TYPE_WECHAT' ? "微信" : "支付宝"
											}}</div> <img
										src="{{ paySupport.cache.fileServer + item.qrCodePath }}" />
									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group" style="text-align: right;margin-left: 50px;">
							<ul style="text-align: center;">
								<li>
									<div class="row">
										<div class="col-md-2">支付人</div>
										<div class="col-md-2">支付方式</div>
										<div class="col-md-3">流水号</div>
										<div class="col-md-2">支付金额</div>
										<div class="col-md-3">描述</div>
									</div>
								</li>
								<li ng-repeat="item in paySupport.entity.pays">
									<div class="row">
										<div class="col-md-2">{{ item.paymentPerson }}</div>
										<div class="col-md-2">{{ item.paymentName }}</div>
										<div class="col-md-3">{{ item.platformNumber }}</div>
										<div class="col-md-2">{{ item.payment }}</div>
										<div class="col-md-3">{{ item.comment }}</div>
									</div>
								</li>
							</ul>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>